#pragma once
#include "LockNChaseMachine.h"

class CMinkyMonkeyMachine:public CLockNChaseMachine
{
protected:
	u8 ProtCommand;
	u8 ProtStatus;
	u8 ProtData;
	u8 ProtResult;
	u8 ProtAddResult[4];
	u8 ProtDecrypt[256];
	u8 ProtSource[8];
public:
	CMinkyMonkeyMachine();
	~CMinkyMonkeyMachine();
	int Init();
	void Reset();
	void SaveState(CState *s);
	void LoadState(CState *s);
	static u8 ReadMainCPU(void *user,u32 addr);
	static void WriteMainCPU(void *user,u32 addr,u8 data);
};
